<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:68:"D:\WWW\ZL\use\blog1\public/../application/home\view\index\index.html";i:1564537477;s:68:"D:\WWW\ZL\use\blog1\public/../application/home\view\public\head.html";i:1564449309;s:69:"D:\WWW\ZL\use\blog1\public/../application/home\view\public\right.html";i:1564449309;s:70:"D:\WWW\ZL\use\blog1\public/../application/home\view\public\footer.html";i:1564537651;}*/ ?>
﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=10,IE=9,IE=8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>php博客_PHP编程_源码分享_互补PHP开发经验-<?php echo $config['site_name']?></title>
<meta name="keywords" content="<?php echo $config['site_keyword']?>">
<meta name="description" content="<?php echo $config['description']?>">
<link rel='stylesheet' id='style-css'  href='__HOME__/style/style.css' type='text/css' media='all' />
<link rel='stylesheet' id='toc-screen-css'  href='__HOME__/style/screen.min.css' type='text/css' media='all' />
<style>.article-content{font-size: 14px;}@media (max-width:640px){.article-content{font-size:16px}}
.navbar .logo{width:160px}@media (max-width: 979px){.navbar .logo{width:100%}}</style>
	<!--[if lt IE 9]><script src="__HOME__/js/html5.js"></script><![endif]-->
</head>
<body class="home blog">
<div class="navbar-wrap">
	<script>
    window._deel = {
        ajaxpager: '',
        maillist: '',
        maillistCode: '',
        commenton: 0,
        roll: [1,1],
        tougaoContentmin: 200,
        tougaoContentmax: 5000,
    }
</script>
<div class="navbar">
    <h1 class="logo"><a href="<?php echo $config['site_url']?>" title="<?php echo $config['site_name']?>"><?php echo $config['site_name']?></a></h1>
    <ul class="nav">
        <li id="menu-item-5" class="menu-item menu-item-type-custom menu-item-object-custom <?php echo empty($type_id) ? 'current-menu-item current_page_item' : ''?> menu-item-home menu-item-5"><a href="<?php echo $config['site_url']?>">首页</a></li>
        <?php foreach($type as $v){?>
            <li id="menu-item-<?php echo $v['id']?>"
                class="menu-item menu-item-type-taxonomy menu-item-object-category <?php echo $v['id'] == $type_id ? 'current-menu-item current_page_item' : ''?> menu-item-<?php echo $v['id']?>"><a href="/category/<?php echo $v['id']?>"><?php echo $v['type_name']?></a></li>
        <?php } ?>
        <!--<li id="menu-item-505" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-505"><a href="http://www.awaimai.com/category/advanced">进阶</a>
            <ul class="sub-menu">
                <li id="menu-item-289" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-289"><a href="http://www.awaimai.com/category/server">服务器</a></li>
                <li id="menu-item-507" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-507"><a href="http://www.awaimai.com/category/advanced/git">Git</a></li>
                <li id="menu-item-508" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-508"><a href="http://www.awaimai.com/category/advanced/habbit">编程习惯</a></li>
                <li id="menu-item-506" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-506"><a href="http://www.awaimai.com/category/advanced/asp">ASP</a></li>
                <li id="menu-item-394" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-394"><a href="http://www.awaimai.com/category/cms">CMS</a>
                    <ul class="sub-menu">
                        <li id="menu-item-500" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-500"><a href="http://www.awaimai.com/category/cms/mediawiki">MediaWiki</a></li>
                        <li id="menu-item-501" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-501"><a href="http://www.awaimai.com/category/cms/opencart">Opencart</a></li>
                        <li id="menu-item-502" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-502"><a href="http://www.awaimai.com/category/cms/wordpress">WordPress</a></li>
                    </ul>
                </li>
            </ul>
        </li>-->

    </ul>

    <div class="menu pull-right">
        <form method="get" class="dropdown search-form" action="/tagArticle" >
            <input class="search-input" name="search" type="text" placeholder="输入关键字搜索" value="<?php echo $search?>" x-webkit-speech="">
            <input class="btn btn-success search-submit" type="submit" value="搜索">
            <ul class="dropdown-menu search-suggest"></ul>
        </form>
    </div>
</div>
</div>
<header class="header"></header>
<section class="container">
<div class="content-wrap">
	<div class="content">
	<div class="sticky">
	<h2 class="title">置顶推荐</h2>
	<ul>
		<?php foreach($article_top as $v){?>
		<li class="item">
			<a href="/article/<?php echo $v['id']?>">
				<img src="/uploads/<?php echo $v['image']?>" alt="<?php echo $v['title']?>" />
				<h3><?php echo $v['title']?></h3>
				<p class="muted"><?php echo $v['introduction']?></p>
			</a>
		</li>
		<?php } ?>
	</ul>
</div>
		<h2 class="title">最新发布</h2>
		<?php foreach($article as $v){?>
		<article class="excerpt excerpt-nothumbnail">
			<header>
				<a class="label label-important" href="/category/<?php echo $v['type_id']?>" target="_blank"><?php echo $v['type_name']?><i class="label-arrow"></i></a>
				<h2><a href="/article/<?php echo $v['id']?>" target="_blank" title="<?php echo $v['title']?> - phpbloger"><?php echo $v['title']?></a></h2>
			</header>
			<p>
			<span class="muted"><i class="icon-time icon12"></i> <?php echo formatDate($v['create_time'])?></span>
			<span class="muted"><i class="icon-eye-open icon12"></i> <?php echo $v['reading_num']?>浏览</span>
			<span class="muted"><i class="icon-comment icon12"></i>
				<a href="/article/<?php echo $v['id']?>#respond">
					<span id = "sourceId::<?php echo $v['id']?>" class = "cy_cmt_count" ></span>
					<script id="cy_cmt_num" src="https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyryTyLri"></script>评论</a>
			</span>
			</p>
			<p class="note"><?php echo $v['introduction']?></p>
		</article>
		<?php } ?>
		<div class="pagination">
			<?php echo $page?>
		</div>
	</div>
</div>
<aside class="sidebar">
	<!--<div class="widget d_textbanner">
    <a class="style02" href=""><strong></strong><h2>PHP设计模式完美教程</h2>
        <p>12种设计模式 •UML类图 •设计原则<br /> •PHP代码例程 •简单易懂</p>
    </a>
</div>-->
<div class="widget widget_views-plus">
    <h3 class="widget_tit">热门文章</h3>
    <ul>
        <?php foreach($reading_article as $v){?>
        <li><a href="/article/<?php echo $v['id']?>"  title="<?php echo $v['title']?>"><?php echo mb_substr($v['title'],0,23,'utf-8')?></a></li>
        <?php } ?>
    </ul>
</div>
<div class="widget d_tag">
    <h3 class="widget_tit">标签</h3>
    <div class="d_tags">
        <?php foreach($tag as $v){?>
         <a href="/tagArticle/<?php echo $v['id']?>"><?php echo $v['tag_name']?> (<?php echo $v['count']?>)</a>
        <?php } ?>
    </div>
</div>
<div class="widget d_comment">
    <h3 class="widget_tit">最新评论</h3>
    <ul>

        <div id="cyReping" role="cylabs" data-use="reping"></div>
        <script type="text/javascript" charset="utf-8" src="https://changyan.itc.cn/js/lib/jquery.js"></script>
        <script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cyryTyLri"></script>
    </ul>
</div>


	<div class="widget widget_text"><h3 class="widget_tit">友情链接</h3>
		<div class="textwidget"><div class="widget_pages">
		<ul>
			<?php foreach($link as $v){?>
				<li class="page_item page-item-2"><a href="<?php echo $v['link_url']?>" target="_blank"><?php echo $v['link_name']?></a></li>
			<?php } ?>
		</ul>
	</div>
		</div>
		</div>
</aside>
</section>
	<footer class="footer">
    <div class="footer-inner">
        <div class="copyright pull-left">
            <?php echo $config['copyright_information']?>
		<a href="<?php echo $config['site_url']?>"><?php echo $config['site_name']?></a>
		
        </div>
        <div class="trackcode pull-right">
            <a href="http://www.miitbeian.gov.cn/" rel="external nofollow" target="_blank">
                <?php echo $config['case_number']?></a>
        </div>	
    </div>
</footer>
<script type='text/javascript' src='https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js'></script>


</div>
</body>
</html>
